CodeLens - Show Actionable Context Information Within Source Code
Provide the user with actionable, contextual information that is displayed interspersed with the source code.
language server protocolによる実装
直接実装
Define the CodeLens results that are available for a document.
Bind the CodeLens results to a command by responding to codeLens/resolve.
拡張実装例ではやっていそう
LSPの話?